package com.sheet.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description
 *
 * @Author IronSheet
 * @Date 2022/3/2 2:35
 */
@RestController
public class ProviderController {

    @GetMapping("/goods/findOne/{id}")
    public String getGoods(@PathVariable("id")int id) {
        return "goods" + id;
    }
}
